<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<title>注册页面</title>
	<link rel="stylesheet" href="<%=path %>/css/bootstrap.min.css" />
	<link rel="stylesheet" href="<%=path %>/css/easyui.css"/>
	<style>
		body{
		background-color: #f1f1f1;
		}
		.lightBg{
			background-color: #fff;
			padding: 10px 20px;
		}
		.registBody{
			padding: 10px 20px;
		}

	</style>
	
<script type="text/javascript">  
  function check(){   
    var number = $("#input2").val();
     if(number.length!=18){
      alert("组织机构代码不合法");
      $("#dis").attr("disabled",true);
     return false;
     }else{
     $("#dis").attr("disabled",false);
     }  
    }  
</script>      
	
	
</head>
<body>

	<div class="container">
		<div class="row lightBg">
			<!--标题-->
			<h2 class="pull-left"><img src="<%=path %>/images/logo.png" style="width: 80px;"> 智游科技项目申报系统</h2>
			<p class="pull-right" style="margin-top: 20px;"><button class="btn btn-warning">常见问题</button></p>
		</div>
		<div class="row" style="margin-top: 20px;">
		<div class="panel panel-info">
			<div class="panel-heading">注册向导</div>
			<div class="panel-body">
				<div class="registBody">
					<div class="alert alert-danger" role="alert">提示</div>
					<ol>
						<li>如单位已注册，无需重复注册，请使用单位管理员账号登录。</li>
						<li>如单位名称变更，无需重新注册，请登陆系统后通过单位名称变更功能完成 。</li>
						<li>输入单位名称点击下一步后，如单位已注册，则显示单位注册及联系信息；如单位尚未注册，则会显示注册信息页面。</li>
						<li>如忘记本单位管理员账号密码，请点击 此处 进行账号密码找回。 </li>
					</ol>
					<div class="alert alert-info" role="alert">请输入您要注册的单位名称和组织机构代码</div>
					<form class="form-horizontal" action="toDanWeiReg2">
						<div class="form-group">
							<label for="input1" class="col-sm-2 control-label">*单位名称</label>
							<div class="col-sm-10">
								<input type="text" class="form-control" name="CName" id="input1" placeholder="">
								<p class="text-danger">（单位名称必须与公章一致）最多输入50个字</p>
							</div>
						</div>
						<div class="form-group">
							<label for="input2" class="col-sm-2 control-label">*统一社会信用代码</label>
							<div class="col-sm-10">
								<input type="text" class="form-control" name="LId" id="input2" onblur="check()" placeholder="">
								<p class="text-danger">（指法人和其他组织统一社会信用代码，18位）</p>

							</div>
						</div>


						<div class="form-group">
							<div class="col-sm-offset-2 col-sm-10">
							    <input  id="dis" type="submit" class="btn btn-primary" value="下一步">
								<a href="../news/toIndex" type="button" class="btn btn-default">返回首页</a>
							</div>
						</div>
					</form>
				</div>
			</div>
		</div>
		</div>
		<footer style="margin-top:40px;">
			<p class="text-center">版权归智游教育所有</p>
		</footer>
	</div>




	<script src="<%=path %>/js/jquery1.12.4.min.js"></script>
	<script src="<%=path %>/js/bootstrap.min.js"></script>
	<script src="<%=path %>/js/jquery.easyui.min.js"></script>
	<script type="text/javascript">
		$(function(){

		});
	</script>
</body>
</html>